import 'package:logger/logger.dart';
import 'package:shared_preferences/shared_preferences.dart';
import 'package:ui_demo/local_storage/sp.dart';

final logger = Logger();
var sp = SharedPreferences.getInstance();
// final SharedPreferences prefs = await sp;
Future<void> main() async {
  // var sp = SharedPreferences.getInstance();
  // final SharedPreferences prefs = await sp;
  // sp.then((value) => value.setInt("age", 1));
  // sp.then((value) => logger.i("age:${value.getInt("age")}"));
  // prefs.setInt("age", 1);
  // logger.i("age:${prefs.getInt("age")}");

}


